<!DOCTYPE html>
<body>
<!-- Confirm appearance after reset() is same as the initial appearance. -->
<form id="form1">
<input type="date" id="date1">
<input type="date" value="2012-10-09" id="date2">
</form>
<script>
if (window.testRunner)
    testRunner.waitUntilDone();
window.onload = function() {
    date1.value = "1999-12-31";
    date2.value = "1999-12-31";
    form1.reset();
    if (window.testRunner)
        testRunner.notifyDone();
};
</script>
</body>
